package com.cssy.yd.logic.entity;

import java.io.Serializable;
import java.util.Date;

/**
 * 数据对象
 * @since 2012-12-26
 */
public class LogicWhAffDO implements Serializable {

    private static final long serialVersionUID = 135648832985570534L;

    /**
     * column logic_wh_aff.id
     */
    private String id;

    /**
     * column logic_wh_aff.bill_code  单据编码
     */
    private String billCode;

    /**
     * column logic_wh_aff.batch  批次
     */
    private String batch;

    /**
     * column logic_wh_aff.bill_type  业务类型
     */
    private String billType;

    /**
     * column logic_wh_aff.wh_code  仓库编码
     */
    private String whCode;
    
    /**
     * column logic_wh_aff.whname  仓库编码
     */
    private String whname;

    /**
     * column logic_wh_aff.hub_code  库位代码
     */
    private String hubCode;

    /**
     * column logic_wh_aff.hub_name  库位名称
     */
    private String hubName;

    /**
     * column logic_wh_aff.code  货品编码
     */
    private String code;

    /**
     * column logic_wh_aff.spec  货品规格
     */
    private String spec;

    /**
     * column logic_wh_aff.unit  货品单位
     */
    private String unit;
    
    /**
     * column logic_wh_aff.junit  货品单位
     */
    private String junit;

    /**
     * column logic_wh_aff.name  货品名称
     */
    private String name;

    /**
     * column logic_wh_aff.quantity  数量（入库为正数出库为负数）
     */
    private Double quantity;
    
    /**
     * column logic_wh_aff.jquantity  数量（入库为正数出库为负数）
     */
    private Double jquantity;

    /**
     * column logic_wh_aff.status  物品的状态，现在主要有合格，不合格，待检，生产退料，不良性产品退料和作业不良性退料
     */
    private String status;

    /**
     * column logic_wh_aff.stock_price  货价
     */
    private Double stockPrice;

    /**
     * column logic_wh_aff.price  单价
     */
    private Double price;

    /**
     * column logic_wh_aff.other_type  对方单位（1、仓库、2供应商）
     */
    private String otherType;

    /**
     * column logic_wh_aff.other_code  对方单位编码
     */
    private String otherCode;

    /**
     * column logic_wh_aff.other_name  对方单位名称
     */
    private String otherName;

    /**
     * column logic_wh_aff.remark  备注
     */
    private String remark;

    /**
     * column logic_wh_aff.removed  是否删除 0未删除：1删除
     */
    private Short removed;

    /**
     * column logic_wh_aff.dcruser  创建人
     */
    private String dcruser;

    /**
     * column logic_wh_aff.dctime  创建时间
     */
    private Date dctime;

    /**
     * column logic_wh_aff.duuser  修改人
     */
    private String duuser;

    /**
     * column logic_wh_aff.dutime  修改时间
     */
    private Date dutime;

    private String brand;
    
    private Double bzq;
    
    private Date scrq;
    
    private Date yxq;
    
    public LogicWhAffDO() {
        super();
    }

    public LogicWhAffDO(String id, String billCode, String batch, String billType, String whCode, String hubCode, String hubName, String code, String spec, String unit, String name, Double quantity, String status, Double stockPrice, Double price, String otherType, String otherCode, String otherName, String remark, Short removed, String dcruser, Date dctime, String duuser, Date dutime) {
        this.id = id;
        this.billCode = billCode;
        this.batch = batch;
        this.billType = billType;
        this.whCode = whCode;
        this.hubCode = hubCode;
        this.hubName = hubName;
        this.code = code;
        this.spec = spec;
        this.unit = unit;
        this.name = name;
        this.quantity = quantity;
        this.status = status;
        this.stockPrice = stockPrice;
        this.price = price;
        this.otherType = otherType;
        this.otherCode = otherCode;
        this.otherName = otherName;
        this.remark = remark;
        this.removed = removed;
        this.dcruser = dcruser;
        this.dctime = dctime;
        this.duuser = duuser;
        this.dutime = dutime;
    }

    /**
     * getter for Column logic_wh_aff.id
     */
    public String getId() {
        return id;
    }

    /**
     * setter for Column logic_wh_aff.id
     * @param id
     */
    public void setId(String id) {
        this.id = id;
    }

    /**
     * getter for Column logic_wh_aff.bill_code
     */
    public String getBillCode() {
        return billCode;
    }

    /**
     * setter for Column logic_wh_aff.bill_code
     * @param billCode
     */
    public void setBillCode(String billCode) {
        this.billCode = billCode;
    }

    /**
     * getter for Column logic_wh_aff.batch
     */
    public String getBatch() {
        return batch;
    }

    /**
     * setter for Column logic_wh_aff.batch
     * @param batch
     */
    public void setBatch(String batch) {
        this.batch = batch;
    }

    /**
     * getter for Column logic_wh_aff.bill_type
     */
    public String getBillType() {
        return billType;
    }

    /**
     * setter for Column logic_wh_aff.bill_type
     * @param billType
     */
    public void setBillType(String billType) {
        this.billType = billType;
    }

    /**
     * getter for Column logic_wh_aff.wh_code
     */
    public String getWhCode() {
        return whCode;
    }

    /**
     * setter for Column logic_wh_aff.wh_code
     * @param whCode
     */
    public void setWhCode(String whCode) {
        this.whCode = whCode;
    }

    /**
     * getter for Column logic_wh_aff.hub_code
     */
    public String getHubCode() {
        return hubCode;
    }

    /**
     * setter for Column logic_wh_aff.hub_code
     * @param hubCode
     */
    public void setHubCode(String hubCode) {
        this.hubCode = hubCode;
    }

    /**
     * getter for Column logic_wh_aff.hub_name
     */
    public String getHubName() {
        return hubName;
    }

    /**
     * setter for Column logic_wh_aff.hub_name
     * @param hubName
     */
    public void setHubName(String hubName) {
        this.hubName = hubName;
    }

    /**
     * getter for Column logic_wh_aff.code
     */
    public String getCode() {
        return code;
    }

    /**
     * setter for Column logic_wh_aff.code
     * @param code
     */
    public void setCode(String code) {
        this.code = code;
    }

    /**
     * getter for Column logic_wh_aff.spec
     */
    public String getSpec() {
        return spec;
    }

    /**
     * setter for Column logic_wh_aff.spec
     * @param spec
     */
    public void setSpec(String spec) {
        this.spec = spec;
    }

    /**
     * getter for Column logic_wh_aff.unit
     */
    public String getUnit() {
        return unit;
    }

    /**
     * setter for Column logic_wh_aff.unit
     * @param unit
     */
    public void setUnit(String unit) {
        this.unit = unit;
    }

    /**
     * getter for Column logic_wh_aff.name
     */
    public String getName() {
        return name;
    }

    /**
     * setter for Column logic_wh_aff.name
     * @param name
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * getter for Column logic_wh_aff.quantity
     */
    public Double getQuantity() {
        return quantity;
    }

    /**
     * setter for Column logic_wh_aff.quantity
     * @param quantity
     */
    public void setQuantity(Double quantity) {
        this.quantity = quantity;
    }

    /**
     * getter for Column logic_wh_aff.status
     */
    public String getStatus() {
        return status;
    }

    /**
     * setter for Column logic_wh_aff.status
     * @param status
     */
    public void setStatus(String status) {
        this.status = status;
    }

    /**
     * getter for Column logic_wh_aff.stock_price
     */
    public Double getStockPrice() {
        return stockPrice;
    }

    /**
     * setter for Column logic_wh_aff.stock_price
     * @param stockPrice
     */
    public void setStockPrice(Double stockPrice) {
        this.stockPrice = stockPrice;
    }

    /**
     * getter for Column logic_wh_aff.price
     */
    public Double getPrice() {
        return price;
    }

    /**
     * setter for Column logic_wh_aff.price
     * @param price
     */
    public void setPrice(Double price) {
        this.price = price;
    }

    /**
     * getter for Column logic_wh_aff.other_type
     */
    public String getOtherType() {
        return otherType;
    }

    /**
     * setter for Column logic_wh_aff.other_type
     * @param otherType
     */
    public void setOtherType(String otherType) {
        this.otherType = otherType;
    }

    /**
     * getter for Column logic_wh_aff.other_code
     */
    public String getOtherCode() {
        return otherCode;
    }

    /**
     * setter for Column logic_wh_aff.other_code
     * @param otherCode
     */
    public void setOtherCode(String otherCode) {
        this.otherCode = otherCode;
    }

    /**
     * getter for Column logic_wh_aff.other_name
     */
    public String getOtherName() {
        return otherName;
    }

    /**
     * setter for Column logic_wh_aff.other_name
     * @param otherName
     */
    public void setOtherName(String otherName) {
        this.otherName = otherName;
    }

    /**
     * getter for Column logic_wh_aff.remark
     */
    public String getRemark() {
        return remark;
    }

    /**
     * setter for Column logic_wh_aff.remark
     * @param remark
     */
    public void setRemark(String remark) {
        this.remark = remark;
    }

    /**
     * getter for Column logic_wh_aff.removed
     */
    public Short getRemoved() {
        return removed;
    }

    /**
     * setter for Column logic_wh_aff.removed
     * @param removed
     */
    public void setRemoved(Short removed) {
        this.removed = removed;
    }

    /**
     * getter for Column logic_wh_aff.dcruser
     */
    public String getDcruser() {
        return dcruser;
    }

    /**
     * setter for Column logic_wh_aff.dcruser
     * @param dcruser
     */
    public void setDcruser(String dcruser) {
        this.dcruser = dcruser;
    }

    /**
     * getter for Column logic_wh_aff.dctime
     */
    public Date getDctime() {
        return dctime;
    }

    /**
     * setter for Column logic_wh_aff.dctime
     * @param dctime
     */
    public void setDctime(Date dctime) {
        this.dctime = dctime;
    }

    /**
     * getter for Column logic_wh_aff.duuser
     */
    public String getDuuser() {
        return duuser;
    }

    /**
     * setter for Column logic_wh_aff.duuser
     * @param duuser
     */
    public void setDuuser(String duuser) {
        this.duuser = duuser;
    }

    /**
     * getter for Column logic_wh_aff.dutime
     */
    public Date getDutime() {
        return dutime;
    }

    /**
     * setter for Column logic_wh_aff.dutime
     * @param dutime
     */
    public void setDutime(Date dutime) {
        this.dutime = dutime;
    }

	public String getBrand() {
		return brand;
	}

	public void setBrand(String brand) {
		this.brand = brand;
	}

	public String getJunit() {
		return junit;
	}

	public void setJunit(String junit) {
		this.junit = junit;
	}

	public Double getJquantity() {
		return jquantity;
	}

	public void setJquantity(Double jquantity) {
		this.jquantity = jquantity;
	}

	public String getWhname() {
		return whname;
	}

	public void setWhname(String whname) {
		this.whname = whname;
	}

	public Double getBzq() {
		return bzq;
	}

	public void setBzq(Double bzq) {
		this.bzq = bzq;
	}

	public Date getScrq() {
		return scrq;
	}

	public void setScrq(Date scrq) {
		this.scrq = scrq;
	}

	public Date getYxq() {
		return yxq;
	}

	public void setYxq(Date yxq) {
		this.yxq = yxq;
	}

}